package org.jeecg.modules.meter.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.meter.entity.MeterOrderReFund;
import org.jeecg.modules.meter.mapper.MeterOrderMapper;
import org.jeecg.modules.meter.mapper.MeterOrderReFundMapper;
import org.jeecg.modules.meter.service.IMeterOrderReFundService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 线下退款
 * @Author: jeecg-boot
 * @Date:   2020-01-03
 * @Version: V1.0
 */
@Service
public class MeterOrderReFundServiceImpl extends ServiceImpl<MeterOrderReFundMapper, MeterOrderReFund> implements IMeterOrderReFundService {
    @Autowired
    private MeterOrderReFundMapper  meterOrderReFundMapper;

    @Override
    public IPage<MeterOrderReFund> findPage(Page<MeterOrderReFund> page, MeterOrderReFund meterOrderReFund) {
        return page.setRecords(meterOrderReFundMapper.findPage(page,meterOrderReFund));
    }
}
